﻿using Outcoder;
using Outcoder.UI.Xaml;

using Xamarin.Forms;

namespace CalciumTemplateApp.Views
{
	public partial class HubView : TabbedPage
	{
		public HubView() : this(null)
		{
		}

		/// <summary>
		/// This constructor is called via Dependency Injection.
		/// </summary>
		/// <param name="viewModel">The binding context for this view.</param>
		public HubView(HubViewModel viewModel)
		{
			BindingContext = viewModel;

			InitializeComponent();

			this.BindToInfrastructure();
		}
	}
}
